package com.ruoyi.wx.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品信息对象 goods
 *
 * @author hxie
 * @date 2020-12-25
 */
public class Goods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品ID */
    private String goodsId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 类目名称 */
    @Excel(name = "类目名称")
    private String kindsName;

    /** 商品单价 */
    @Excel(name = "商品单价")
    private BigDecimal goodsPrice;

    /** 商品库存 */
    @Excel(name = "商品库存")
    private Long goodsStock;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private String goodsDesc;

    /** 商品小图 */
    @Excel(name = "商品小图")
    private String goodsUrl;

    /** 商品状态,0正常1下架,2售完 */
    @Excel(name = "商品状态,0正常1下架,2售完")
    private Integer goodsStatus;

    public void setGoodsId(String goodsId)
    {
        this.goodsId = goodsId;
    }

    public String getGoodsId()
    {
        return goodsId;
    }
    public void setGoodsName(String goodsName)
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName()
    {
        return goodsName;
    }
    public void setKindsName(String kindsName)
    {
        this.kindsName = kindsName;
    }

    public String getKindsName()
    {
        return kindsName;
    }
    public void setGoodsPrice(BigDecimal goodsPrice)
    {
        this.goodsPrice = goodsPrice;
    }

    public BigDecimal getGoodsPrice()
    {
        return goodsPrice;
    }
    public void setGoodsStock(Long goodsStock)
    {
        this.goodsStock = goodsStock;
    }

    public Long getGoodsStock()
    {
        return goodsStock;
    }
    public void setGoodsDesc(String goodsDesc)
    {
        this.goodsDesc = goodsDesc;
    }

    public String getGoodsDesc()
    {
        return goodsDesc;
    }
    public void setGoodsUrl(String goodsUrl)
    {
        this.goodsUrl = goodsUrl;
    }

    public String getGoodsUrl()
    {
        return goodsUrl;
    }
    public void setGoodsStatus(Integer goodsStatus)
    {
        this.goodsStatus = goodsStatus;
    }

    public Integer getGoodsStatus()
    {
        return goodsStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("goodsId", getGoodsId())
                .append("goodsName", getGoodsName())
                .append("kindsName", getKindsName())
                .append("goodsPrice", getGoodsPrice())
                .append("goodsStock", getGoodsStock())
                .append("goodsDesc", getGoodsDesc())
                .append("goodsUrl", getGoodsUrl())
                .append("goodsStatus", getGoodsStatus())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
